#include<iostream>
using namespace std;
int main() {
	string a, b;
	cin >> a;
	int x[100] = { 0 };
	int z = 0, d, i, j;//1234567899
	for (i = a.size() - 1; i >= 0; i--) {
		x[a[i] - '0']++;
		d = ((a[i] - '0') * 2 + z) % 10;
		z = ((a[i] - '0') * 2 + z) / 10;
		b.insert(b.begin(), 1, '0' + d);
		x[d]--;
	}
	if (z > 0) {
		b.insert(b.begin(), 1, '0' + z);
		x[z]--;
	}
	int flag = 1;
	for (j = 0; j < 10; j++)
		if (x[j] != 0) flag = 0;
	if (flag > 0) {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}
	cout << b << endl;
	return 0;
}